package com.hk.migration.db.craftsman;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.*;
import lombok.Data;

/**
 * 课程老师信息
 */
@Data
@Table(name = "schedule_lesson_book_teacher")
public class ScheduleLessonBookTeacher implements Serializable {
    /**
     * 已课程id
     */
    @Id
    @Column(name = "book_lesson_id")
    private Long bookLessonId;

    /**
     * 公司id
     */
    @Column(name = "company_id")
    private Long companyId;

    /**
     * 公司ID
     */
    @Column(name = "teacher_id")
    private Long teacherId;

    /**
     * 是否ot
     */
    @Column(name = "over_time")
    private Integer overTime;

    /**
     * 缺席状态:NO_ABSENT,ON_LEAVE,ASK_LEAVE,ABSENT
     */
    @Column(name = "teacher_absent_type")
    private String teacherAbsentType;

    /**
     * 老师进教室时间
     */
    @Column(name = "teacher_in_time")
    private Date teacherInTime;

    /**
     * 老师退出时间
     */
    @Column(name = "teacher_out_time")
    private Date teacherOutTime;

    /**
     * 创建时间
     */
    @Column(name = "create_time")
    private Date createTime;

    /**
     * 创建人Id
     */
    @Column(name = "create_user_id")
    private Long createUserId;

    /**
     * 创建人
     */
    @Column(name = "create_account")
    private String createAccount;

    /**
     * 最后修改时间
     */
    @Column(name = "modified_time")
    private Date modifiedTime;

    /**
     * 修改人Id
     */
    @Column(name = "modified_user_id")
    private Long modifiedUserId;

    /**
     * 修改人名称
     */
    @Column(name = "modified_account")
    private String modifiedAccount;

    /**
     * hello kid后台数据ID
     */
    @Column(name = "hk_id")
    private Long hkId;

    private static final long serialVersionUID = 1L;
}
